package com.messe.base.models;

import java.util.HashSet;
import java.util.Set;

/**
 * Area entity. @author MyEclipse Persistence Tools
 */

public class Area implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5477923230086113953L;
	private String id;
	private Integer sortNum;
	private String parentId;
	private String abbr;
	private String code;
	private String zipCode;
	private Integer orderNum;
	private Set<AreaAppendix> areaAppendixes = new HashSet<AreaAppendix>(0);
	private Set exhibitorsForProvinceId = new HashSet(0);
	private Set exhibitorsForCountryId = new HashSet(0);
	private Set exhibitorsForCityId = new HashSet(0);
	private Set exhibitionHallsForCityId = new HashSet(0);
	private Set exhibitionHallsForProvinceId = new HashSet(0);
	private Set exhibitionHallsForCountryId = new HashSet(0);

	// Constructors

	/** default constructor */
	public Area() {
	}

	/** minimal constructor */
	public Area(String id) {
		this.id = id;
	}

	/** full constructor */
	public Area(String id, Integer sortNum, String parentId, Set areaAppendixes, Set exhibitorsForProvinceId,
			Set exhibitorsForCountryId, Set exhibitorsForCityId, Set exhibitionHallsForCityId,
			Set exhibitionHallsForProvinceId, Set exhibitionHallsForCountryId) {
		this.id = id;
		this.sortNum = sortNum;
		this.parentId = parentId;
		this.areaAppendixes = areaAppendixes;
		this.exhibitorsForProvinceId = exhibitorsForProvinceId;
		this.exhibitorsForCountryId = exhibitorsForCountryId;
		this.exhibitorsForCityId = exhibitorsForCityId;
		this.exhibitionHallsForCityId = exhibitionHallsForCityId;
		this.exhibitionHallsForProvinceId = exhibitionHallsForProvinceId;
		this.exhibitionHallsForCountryId = exhibitionHallsForCountryId;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAbbr() {
		return abbr;
	}

	public void setAbbr(String abbr) {
		this.abbr = abbr;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getSortNum() {
		return this.sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}



	public Set<AreaAppendix> getAreaAppendixes() {
		return areaAppendixes;
	}

	public void setAreaAppendixes(Set<AreaAppendix> areaAppendixes) {
		this.areaAppendixes = areaAppendixes;
	}

	public Set getExhibitorsForProvinceId() {
		return this.exhibitorsForProvinceId;
	}

	public void setExhibitorsForProvinceId(Set exhibitorsForProvinceId) {
		this.exhibitorsForProvinceId = exhibitorsForProvinceId;
	}

	public Set getExhibitorsForCountryId() {
		return this.exhibitorsForCountryId;
	}

	public void setExhibitorsForCountryId(Set exhibitorsForCountryId) {
		this.exhibitorsForCountryId = exhibitorsForCountryId;
	}

	public Set getExhibitorsForCityId() {
		return this.exhibitorsForCityId;
	}

	public void setExhibitorsForCityId(Set exhibitorsForCityId) {
		this.exhibitorsForCityId = exhibitorsForCityId;
	}

	public Set getExhibitionHallsForCityId() {
		return this.exhibitionHallsForCityId;
	}

	public void setExhibitionHallsForCityId(Set exhibitionHallsForCityId) {
		this.exhibitionHallsForCityId = exhibitionHallsForCityId;
	}

	public Set getExhibitionHallsForProvinceId() {
		return this.exhibitionHallsForProvinceId;
	}

	public void setExhibitionHallsForProvinceId(Set exhibitionHallsForProvinceId) {
		this.exhibitionHallsForProvinceId = exhibitionHallsForProvinceId;
	}

	public Set getExhibitionHallsForCountryId() {
		return this.exhibitionHallsForCountryId;
	}

	public void setExhibitionHallsForCountryId(Set exhibitionHallsForCountryId) {
		this.exhibitionHallsForCountryId = exhibitionHallsForCountryId;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

}